<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="../Common/header.jsp"></jsp:include>
<!-- Content Wrapper. Contains page content -->

<div class="content-wrapper">
	<section class="content-header">
		<h1>客户</h1>
		<ol class="breadcrumb">
			<li><a href="<c:url value="/Admin/index" />"><i
					class="fa fa-dashboard"></i> Home</a></li>

			<c:forEach items="${routers}" var="router">
				<li><i class="${router.icon}"></i><a href="javascript:void(0)">&nbsp&nbsp${router.name
						}</a></li>
			</c:forEach>

		</ol>
	</section>

	<section class="content">

		<div class="page-header clearfix">
			<h1 class="col-sm-8"></h1>
		
		</div>
	
		<div class="box">
			<div class="box-body">
				<div class="col-sm-12">
					<form method="post" action="<c:url value="/Customer/doEdit" />">
			<div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                  <span aria-hidden="true">×</span></button>
                <h4 class="modal-title">客户</h4>
              </div>
					<div class="box-body">
					                
					<div class="form-group col-xs-6">
							<label for="companyName">公司名称*:</label> <input type="text" 
								class="form-control" name="companyName" id="companyName" value="${customer.companyName}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="companyShortName">公司简称*：</label> <input type="text" 
								class="form-control" name="companyShortName" id="companyShortName" value="${customer.companyShortName}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="IDNumber">证件号码*:</label> <input type="text" 
								class="form-control" name="idnumber" id="idnumber" value="${customer.idnumber}"
								placeholder="">
						</div>
			
						<div class="form-group col-xs-6">
							<label for="payType">付款方式:</label> <input type="text"
								class="form-control" name="payType" id="payType" value="${customer.payType}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="address">地址：</label> <input type="text" 
								class="form-control" name="address" id="address" value="${customer.address}"
								placeholder="">
						</div>
						
						<div class="form-group col-xs-6">
							<label for="password">业务员：</label> <input type="text" 
								class="form-control" name=salesman id="salesman" value="${customer.salesman}"
								placeholder="">
						</div>
						
						<div class="form-group col-xs-6">
							<label for="contacts">联系人:</label> <input type="text" 
								class="form-control" name="contacts" id="contacts" value="${customer.contacts}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="email">邮箱:</label> <input type="text" 
								class="form-control" name="email" id="email" value="${customer.email}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="phone">办公电话:</label> <input type="text" 
								class="form-control" name="phone" id="phone" value="${customer.phone}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="telephone">手机:</label> <input type="text" 
								class="form-control" name="telephone" id="telephone" value="${customer.telephone}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="fax">传真:</label> <input type="text"
								class="form-control" name="fax" id="fax" value="${customer.fax}"
								placeholder="">
						</div>
						<div class="form-group col-xs-6">
							<label for="qq">即时聊天:</label> <input type="text" 
								class="form-control" name="qq" id="qq" value="${customer.qq}"
								placeholder="">
						</div>
						
							<div class="form-group col-xs-12">
							<label for="other">其他:</label> <textarea rows="8" 
								class="form-control" name="other" id="other" 
								>${customer.other}</textarea>
						</div>
					
					
						<input type="hidden" name="id" value="${customer.id}" />
						<div class="form-group col-xs-12">
							<input type="submit" class="btn btn-sm btn-primary" value="保存" >
							<a href="<c:url value="/Customer/index" />" class="btn btn-sm btn-primary">取消</a>
						</div>

					</div>
					<!-- /.box-body -->
				</form>
				</div>

			</div>
		</div>
	</section>

</div>
<!-- /.content-wrapper -->
<jsp:include page="../Common/footer.jsp"></jsp:include>
<script type="text/javascript">

</script>

